-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Tabs): ✨ New Tabs
Component
#876
Conversation
769f178
to
1f02ebe
Compare
Storybook preview deployment is available at https://storybook-8xevsz1h1-designsystemet.vercel.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work here! Some code and docs comments :)
I would also suggest simpler names for the subcomponents (This was probably due to the legacy component).
TabItem
-> Tab
TabItemList
-> TabList
packages/react/src/components/Tabs/TabContent/TabContent.module.css
Outdated
Show resolved
Hide resolved
<RovingTabindexItem | ||
{...rest} | ||
{...buttonProps} | ||
as={'button'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also just pass our own Button
into the as
prop here. It would save us for a lot of repitition. But maybe save that for later as we have planned to do changes to the Button
and its api now 😅
Storybook preview deployment is available at https://storybook-cpx5a1lth-designsystemet.vercel.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Resolves: #872